<?php
class PDebug{
    static function Log($content,$filename='debug.txt',$flags =FILE_APPEND){
        file_put_contents($filename,date("d-m-Y H:i:s").' : ' . $content ."\n", $flags);
    }
}
?>